package com.ruoyi.project.system.datasource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * CTCP数据源对象 ctcp_datasource
 * 
 * @author huzhenyuan
 * @date 2021-07-15
 */
public class CtcpDatasource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 访问方式 */
    @Excel(name = "访问方式")
    private Long authType;

    /** 表结构 */
    @Excel(name = "表结构")
    private String tableSchema;

    /** 表的描述 */
    @Excel(name = "表的描述")
    private String tableDescription;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setTableName(String tableName)
    {
        this.tableName = tableName;
    }

    public String getTableName()
    {
        return tableName;
    }
    public void setAuthType(Long authType)
    {
        this.authType = authType;
    }

    public Long getAuthType()
    {
        return authType;
    }
    public void setTableSchema(String tableSchema)
    {
        this.tableSchema = tableSchema;
    }

    public String getTableSchema()
    {
        return tableSchema;
    }
    public void setTableDescription(String tableDescription)
    {
        this.tableDescription = tableDescription;
    }

    public String getTableDescription()
    {
        return tableDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("type", getType())
            .append("status", getStatus())
            .append("tableName", getTableName())
            .append("authType", getAuthType())
            .append("tableSchema", getTableSchema())
            .append("tableDescription", getTableDescription())
            .toString();
    }
}
